package itextcode;

// Descent.java

import java.io.*;

import com.lowagie.text.*;
import com.lowagie.text.pdf.*;

class Descent
{
  static String text = "some random text...";
  private static String factuurnummer = "Test_000";


  public static void main (String [] args) throws Exception
  {
   Document doc = new Document ();
   PdfWriter.getInstance (doc, new FileOutputStream ("C://Borland/Together/Architect2006/workspace/checkout svn/itextcode/generated_documents/"+ factuurnummer +".pdf"));
   doc.open ();

   Paragraph p = new Paragraph (text);
   p.setAlignment (Element.ALIGN_JUSTIFIED);
   doc.add (p);

   doc.close ();
  }
}